import request from '@/utils/request'

// 查询App启动页列表
export function listStart(query) {
    return request({
        url: '/system/start/list',
        method: 'get',
        params: query
    })
}

// 查询App启动页详细
export function getStart(id) {
    return request({
        url: '/system/start/' + id,
        method: 'get'
    })
}

// 新增App启动页
export function addStart(data) {
    return request({
        url: '/system/start',
        method: 'post',
        data: data
    })
}

// 修改App启动页
export function updateStart(data) {
    return request({
        url: '/system/start',
        method: 'put',
        data: data
    })
}

// 删除App启动页
export function delStart(id) {
    return request({
        url: '/system/start/' + id,
        method: 'delete'
    })
}

// 导出App启动页
export function exportStart(query) {
    return request({
        url: '/system/start/export',
        method: 'get',
        params: query
    })
}